package CSS::Builder::Selector::Child;
use Moose;

with 'CSS::Builder::Roles::List';

# BODY > P { line-height: 1.3 }
# DIV OL > LI P
has 'child'         => ( isa => 'Any' , is => 'rw');


sub css {
      my $self = shift;
      
      my $selectors = $self->list;
      my @res = map { $self->docss($_) } @$selectors;
      
      return join " > " , @res; 
}


1;